<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<c:set var="mob" value="${webuser.cuserid}" />
<c:set var="pwd" value="${password}" />
<html>
<script>
	var ctx = "${ctx}";
	var mob = "${mob}";
	var password = "${pwd}";
</script>
<head>
<title>首媒管理平台</title>
<meta name="keywords" content="首媒后台主题,后台bootstrap框架,响应式后台">
<meta name="description" content="首媒是基于Bootstrap3最新Html5+CSS3等现代技术">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
<meta http-equiv="expires" content="Wed, 26 Feb 209908:21:57 GMT">
<link rel="shortcut icon" href="favicon.ico">
<!-- 基础样式 -->
<link href="${ctx}/static/css/bootstrap.min.css?v=3.3.6"
	rel="stylesheet">

<link href="${ctx}/static/css/animate.min.css" rel="stylesheet">
<link href="${ctx}/static/css/style.portal.css?v=4.1" rel="stylesheet">
<link href="${ctx}/static/css/common.css" rel="stylesheet">
<!-- 插件样式 -->
<link href="${ctx}/static/js/plugins/layer/laydate/laydate.css?v="
	rel="stylesheet">

<link
	href="${ctx}/static/css/font-awesome.min.css?v=4.4.0?v=${static_version}"
	rel="stylesheet" />
<link href="//at.alicdn.com/t/font_9x03jhokyws9vn29.css"
	rel="stylesheet">
<style type="text/css">
#side-menu li.active a.J_menuItem:focus, #side-menu li.active a.J_menuItem:hover
	{
	color: #ff6633 !important;
	background: #fff;
}
</style>
<script>
	var ctx = "${ctx}";
	var u
</script>
</head>

<body class="fixed-sidebar full-height-layout gray-bg">
	<div id="wrapper">

		<!--顶部导航开始-->
		<div class="row border-bottom">
			<nav class="navbar navbar-static-top" role="navigation"
				style="margin-bottom: 0">
				<div class="navbar-header">
					<form role="search" class="navbar-form-custom" method="post"
						action="#">
						<div class="form-group">
							<a href="#" style="padding-left: 20px; display: block"><img
								src="${ctx}/static/img/logo.png"
								style="height: 37px; margin-top: 10px;" /></a>
						</div>
					</form>
				</div>
				<ul class="nav navbar-top-links navbar-right">
					<li class="dropdown"><a class="dropdown-toggle count-info"
						data-toggle="dropdown" href="#"> <i class="fa fa-envelope"></i>
							<span class="label label-warning">16</span>
					</a></li>
					<li class="dropdown"></li>
					<li class="hidden-xs"><a href="index_v1.html"
						class="J_menuItem" data-index="0"><i
							class="iconfont icon-bangzhu"></i> 帮助中心</a></li>
					<li class="dropdown hidden-xs"><a class="right-sidebar-toggle"
						aria-expanded="false"> <i
							class="iconfont icon-zhuyetubiaoxuexishouce"></i> 使用手册
					</a></li>
					<li class="dropdown hidden-xs"><a class="right-sidebar-toggle"
						href="${ctx}/pwd-reset"> <i class="iconfont icon-mima"></i>
							密码修改
					</a></li>

					<li class="dropdown hidden-xs"><a class="right-sidebar-toggle"
						aria-expanded="false" href="${ctx}/logout"> <i
							class="iconfont icon-tuichu"></i> 安全退出
					</a></li>
				</ul>
			</nav>
		</div>
		<!--顶部导航结束end-->

		<!--左侧导航开始-->
		<nav class="navbar-default navbar-static-side" role="navigation">
			<div class="nav-close">
				<i class="fa fa-times-circle"></i>
			</div>

			<div class="sidebar-collapse">
				<ul class="nav" id="side-menu">
					<li class="nav-header">
						<div class="dropdown profile-element" style="text-align: center">
							<span class="img_pic_set"> <!-- 头像 --> <c:if
									test="${!empty member.c_avatar}">
									<img class="img-circle" style="height: 60px;"
										src="${member.c_avatar}" />
								</c:if> <c:if test="${member.c_avatar==''||empty member.c_avatar}">
									<img class="img-circle" style="height: 60px;"
										src="${ctx}/static/img/default_head.png" />
								</c:if> <!-- /头像 -->
							</span> <a data-toggle="dropdown" class="dropdown-toggle" href="#">
								<span class="clear"> <span class="block m-t-xs"><strong
										class="font-bold">欢迎，${member.c_nick}&nbsp;<i
											class="fa fa-user"></i></strong></span> <span class="block m-b-xs"><i
										class="fa fa-trophy"></i>&nbsp;<strong class="font-bold">企业主</strong></span>
									<span class="text-muted text-xs block">个人管理<b
										class="caret"></b></span>
							</span>
							</a>
							<ul class="dropdown-menu animated fadeInRight m-t-xs">
								<li><a class="J_menuItem" href="${ctx}/member-info">个人资料</a>
								</li>
								<li><a class="J_menuItem" href="${ctx}/pwd-reset">修改密码</a></li>
								<li class="divider"></li>
								<li><a href="${ctx}/logout">安全退出</a></li>
							</ul>
						</div>

						<div class="logo-element">首媒</div>
					</li>

					<!-- 位置广告中心 -->
					<li class="active"><a href="#"><i
							class="iconfont icon-iconfontguanggao20x20"></i> <span
							class="nav-label">位置广告中心</span> </a>
						<ul class="nav nav-second-level collapse">
							<li><a class="J_menuItem" href="${ctx}/advert_position-list"
								data-index="0">广告位中心</a></li>
							<li><a class="J_menuItem"
								href="${ctx}/advert_positionadvert-addOrUpdate">发布位置广告</a></li>
							<li><a class="J_menuItem"
								href="${ctx}/advert_positionadvert-list">我的广告列表</a></li>
						</ul></li>
					<!-- /位置广告中心 -->
					<!-- 媒体头条中心 -->
					<li><a href="#"> <i class="icon iconfont icon-wode"></i> <span
							class="nav-label">媒体头条中心</span>
					</a>
						<ul class="nav nav-second-level collapse">
							<li><a class="J_menuItem"
								href="${ctx}/article/webarticlelist">头条列表</a></li>
							<li><a class="J_menuItem"
								href="${ctx}/article/articleaddpre">发布头条</a></li>
							<li><a class="J_menuItem"
								href="${ctx}/article/articleaddpre2">发布图说头条</a></li>
							<li><a class="J_menuItem"
								href="${ctx}/article/articleaddpre3">发布视频头条</a></li>
							<li><a class="J_menuItem"
								href="${ctx}/article/u_article_reply-list">评论管理</a></li>
						</ul></li>
					<!-- /媒体头条中心  -->
					<li><a href="#"> <i class="iconfont icon-hongbao"></i> <span
							class="nav-label">红包广告中心</span>
					</a>
						<ul class="nav nav-second-level collapse">
							<li><a class="J_menuItem" href="${ctx}/bonus-list">我的红包广告</a></li>
							<li><a class="J_menuItem"
								href="${ctx}/advert_bonusadvert-addOrUpdate?type=1">发布全品红包</a></li>
							<li><a class="J_menuItem"
								href="${ctx}/advert_bonusadvert-addOrUpdate?type=2">发布推荐红包</a></li>
							<li><a class="J_menuItem" href="${ctx}/keywordsCount">已喊关键字</a></li>
							<li><a class="J_menuItem"
								href="${ctx}/advert_bonusadvert-addOrUpdate?type=3">发布喊个红包</a></li>
							<li><a class="J_menuItem" href="${ctx}/hanbonus-list">我的喊个红包</a></li>
						</ul></li>


					<li><a href="#"><i class="icon iconfont icon-maiche"></i>
							<span class="nav-label">特卖汇中心</span> </a>
						<ul class="nav nav-second-level collapse">
							<li><a class="J_menuItem" href="${ctx}/seller/goodslist">商品管理</a></li>
							<li><a class="J_menuItem" href="${ctx}/seller/goods-add-pre">发布商品</a></li>
							<li><a class="J_menuItem" href="${ctx}/seller/speChangList">专场管理</a></li>
							<li><a class="J_menuItem"
								href="${ctx}/seller/speicalChangAdd">发布专场</a></li>
						</ul></li>
					<li><a href="#"> <i class="iconfont icon-03"></i> <span
							class="nav-label">订单中心</span>
					</a>
						<ul class="nav nav-second-level collapse">
							<li><a class="J_menuItem" href="${ctx}/dingdan/orderList">特卖汇订单</a>
								<a class="J_menuItem"
								href="${ctx}/order-activity-list?ordertype=8">新发现订单</a> <a
								class="J_menuItem" href="${ctx}/dingdan/myorderList">我的订单</a> <a
								class="J_menuItem" href="${ctx}/dingdan/dianPingList">订单评价</a> <a
								class="J_menuItem" href="${ctx}/dingdan/backGoodsList">退货管理</a>
							</li>
						</ul></li>

					<!-- 新发现 -->
					<li><a href="#"> <i class="icon iconfont icon-faxian"></i>
							<span class="nav-label">新发现中心</span>
					</a>
						<ul class="nav nav-second-level collapse">
							<li><a class="J_menuItem"
								href="${ctx}/create-activity-discover">发布互动信息</a></li>
							<li><a class="J_menuItem"
								href="${ctx}/activity_discover-list">互动信息列表</a></li>
							<li><a class="J_menuItem"
								href="${ctx}/create-service-discover">发布供应信息</a></li>
							<li><a class="J_menuItem"
								href="${ctx}/service_discover-list">供应信息列表</a></li>
							<li><a class="J_menuItem"
								href="${ctx}/create_requirement_discover">发布需求信息</a></li>
							<li><a class="J_menuItem"
								href="${ctx}/requirement_discover-list">需求信息列表</a></li>
						</ul></li>
					<!-- /新发现 -->

					<!-- 优惠券中心 -->
					<li><a href="#"> <i class="icon iconfont icon-faxian"></i>
							<span class="nav-label">优惠券中心</span>
					</a>
						<ul class="nav nav-second-level collapse">
							<li><a class="J_menuItem" href="${ctx}/coupon-list">优惠券管理</a>
							</li>
							<li><a class="J_menuItem" href="${ctx}/coupon_detail-list">优惠券使用情况</a>
							</li>
							<li><a class="J_menuItem" href="${ctx}/coupon-add-pre">新增优惠券</a>
							</li>
						</ul></li>


					<!-- 赛事中心 -->
					<li><a href="#"> <i class="icon iconfont icon-faxian"></i>
							<span class="nav-label">赛事中心</span>
					</a>
						<ul class="nav nav-second-level collapse">
							<li><a class="J_menuItem"
								href="${ctx}/views/u_match-add-info-pre">发布赛事</a></li>
							<li><a class="J_menuItem"
								href="${ctx}/views/u_match-info-list">发布赛事管理</a></li>
							<li><a class="J_menuItem"
								href="${ctx}/views/u_match-enroll-info-list">报名中</a></li>
							<li><a class="J_menuItem"
								href="${ctx}/views/u_match-vote-info-list">投票中</a></li>
							<li><a class="J_menuItem"
								href="${ctx}/views/u_match-vote-info-list">已结束</a></li>
						</ul></li>


					<!-- 我的 -->
					<li><a href="#"> <i class="icon iconfont icon-wode"></i> <span
							class="nav-label">我的</span>
					</a>
						<ul class="nav nav-second-level collapse">
							<li><a class="J_menuItem" href="${ctx}/member-info">我的档案</a></li>
							<li><a class="J_menuItem" href="${ctx}/address-list">我的地址</a></li>
							<%-- <li><a class="J_menuItem" href="${ctx}/#">我的收藏</a></li>
							<li><a class="J_menuItem" href="${ctx}/#">我的关注</a></li> --%>
							<li><a class="J_menuItem" href="${ctx}/pwd-reset">修改密码</a></li>
							<li><a class="J_menuItem" href="${ctx}/match-game">我的赛事</a></li>
						</ul></li>
					<!-- /我的  -->

				</ul>
			</div>
		</nav>
		<!--左侧导航结束-->
		<!--右侧部分开始-->
		<div id="page-wrapper" class="gray-bg dashbard-1">
			<div class="row content-tabs">
				<a class="navbar-minimalize minimalize-styl-2 color-grey" href="#"><i
					style="margin-top: 8px" class="fa fa-bars"></i> </a>

				<button class="roll-nav roll-left J_tabLeft">
					<i class="fa fa-backward"></i>
				</button>

				<nav class="page-tabs J_menuTabs">
					<div class="page-tabs-content">
						<a href="javascript:;" class="active J_menuTab"
							data-id="${ctx}/portal">桌面</a>
					</div>
				</nav>

				<button class="roll-nav roll-right J_tabRight">
					<i class="fa fa-forward"></i>
				</button>
				<div class="btn-group roll-nav roll-right">
					<button class="dropdown J_tabClose" data-toggle="dropdown">
						关闭操作<span class="caret"></span>
					</button>
					<ul role="menu" class="dropdown-menu dropdown-menu-right">
						<li class="J_tabShowActive"><a>定位当前选项卡</a></li>
						<li class="divider"></li>
						<li class="J_tabCloseAll"><a>关闭全部选项卡</a></li>
						<li class="J_tabCloseOther"><a>关闭其他选项卡</a></li>
					</ul>
				</div>
				<a href="${ctx}/lockscreen?mob=${mob}&password=${pwd}"
					class="roll-nav roll-right J_tabExit"><i
					class="fa fa fa-sign-out"></i>锁 屏</a>
			</div>

			<div class="row J_mainContent" id="content-main">
				<iframe class="J_iframe" name="iframe0" width="100%" height="100%"
					src="${ctx}/portal" frameborder="0" data-id="${ctx}/portal"
					seamless></iframe>
			</div>
		</div>
		<!--右侧部分结束-->

	</div>

	<script src="${ctx}/static/js/jquery.min.js?v=2.1.4"></script>
	<script src="${ctx}/static/js/bootstrap.min.js?v=3.3.6"></script>
	<script src="${ctx}/static/js/hplus.min.js?v=4.1.0"></script>
	<script src="${ctx}/static/js/plugins/metisMenu/jquery.metisMenu.js"></script>
	<script
		src="${ctx}/static/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
	<script src="${ctx}/static/js/plugins/layer/layer.min.js"></script>
	<script type="text/javascript" src="${ctx}/static/js/contabs.min.js"></script>

	<script src="${ctx}/static/js/plugins/pace/pace.min.js"></script>

</body>

<script type="text/javascript">
	$(window).scroll(function() {
		var hdocument = window.screen.availHeight;
		var hwindow = $(window).height();
		var scrolltop = $(document).scrollTop();
		if (scrolltop >= hdocument - hwindow) {
			$('.navbar-static-side').css('top', 0);
		}
	})
	/*  fun suoping(){
		
		  $.ajax({
			type : "post",
			url : "${ctx}/lockscreen",
			data : {mob:mob,password:password},
			error : function() {
				layer.msg('操作失败', {icon:5,time:1000});
			},
			success : function(msg) {
				var info = eval('(' + msg + ')');
				layer.msg('操作成功',{icon:6,time:1000});
				$(".btn-refresh").click();
				location.replace(location.href);
			}
		})
	} */
	//	$('.J_menuItem').click(function(){
	//
	//		$(this).addClass('.active').parent().sibling().children('a').removeClass('active');
	//		$(this).parent().parent().parent().find()
	//	})
</script>
</html>